<template>
  <div>
    <router-view></router-view>
    <!-- <div class="footer">
      <van-tabbar v-model="active1">
        <van-tabbar-item @click="lookPost">
          <span>活动</span>
          <img slot="icon" slot-scope="props" :src="props.active ? icon.active : icon.normal" >
        </van-tabbar-item>
        <van-tabbar-item @click="lookMy">
          <span>我的</span>
          <img slot="icon" slot-scope="props" :src="props.active ? icon.active1 : icon.normal1" >
        </van-tabbar-item>
      </van-tabbar>
    </div> -->
  </div>
</template>

<script>
export default {
  name:"ActivityIndex",
  data () {
    return {
      active1:0,
      icon: {
        normal: 'https://gw.alicdn.com/tfs/TB1CKFpOgHqK1RjSZFPXXcwapXa-68-68.png',
        active: 'https://gw.alicdn.com/tfs/TB1oU3WgTZmx1VjSZFGXXax2XXa-68-68.png',
        normal1: 'https://gw.alicdn.com/tfs/TB1lkRqOkvoK1RjSZFNXXcxMVXa-68-68.png',
        active1: 'https://gw.alicdn.com/tfs/TB1A7leOgTqK1RjSZPhXXXfOFXa-68-68.png'
      },
    }
  },
  methods: {
    lookPost(){
      this.$router.push({
        path: "/ActivityHome",
      });
    },
    lookMy(){
      this.$router.push({
        path: "/ActivityMy",
      });
    }
  },
  created () {
    
  }
}
</script>

<style>

</style>
